package OOP.day10.AnnoInnerClass;


public class AnnoInnerClassDemo {
    public static void main(String[] args) {
        Inter inter01 = new Inter(){
            @Override
            public void show() {
                System.out.println("show inter01");
            }
        };
        Inter inter02 = new Inter(){
            @Override
            public void show() {
                System.out.println("show inter02");
            }
        };
        inter01.show();
        inter02.show();



    }
}

interface Inter {
    void show();
}

